package com.lilicould.entity;

public class GradeDetails {
    private Integer gradeId;           // 成绩唯一ID
    private String studentNo;          // 学生学号
    private String studentName;        // 学生姓名
    private String collegeCode;        // 学院代号
    private String collegeName;        // 学院名称
    private String majorCode;          // 专业代号
    private String majorName;          // 专业名称
    private String classCode;          // 班级代号
    private String className;          // 班级名称
    private Integer courseId;          // 课程ID
    private String courseCode;         // 课程编号
    private String courseName;         // 课程名称
    private Double credit;             // 学分
    private String teacherUserNo;      // 任课教师工号
    private String teacherName;        // 教师姓名
    private String semester;           // 学期
    private Double score;              // 成绩
    private String examDate;           // 考试日期
    private String createdAt;          // 创建时间
    private String updatedAt;          // 更新时间

    public GradeDetails(Integer gradeId, String studentNo, String studentName, String collegeCode, String collegeName, String majorCode, String majorName, String classCode, String className, Integer courseId, String courseCode, String courseName, Double credit, String teacherUserNo, String teacherName, String semester, Double score, String examDate, String createdAt, String updatedAt) {
        this.gradeId = gradeId;
        this.studentNo = studentNo;
        this.studentName = studentName;
        this.collegeCode = collegeCode;
        this.collegeName = collegeName;
        this.majorCode = majorCode;
        this.majorName = majorName;
        this.classCode = classCode;
        this.className = className;
        this.courseId = courseId;
        this.courseCode = courseCode;
        this.courseName = courseName;
        this.credit = credit;
        this.teacherUserNo = teacherUserNo;
        this.teacherName = teacherName;
        this.semester = semester;
        this.score = score;
        this.examDate = examDate;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public String getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(String studentNo) {
        this.studentNo = studentNo;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getCollegeCode() {
        return collegeCode;
    }

    public void setCollegeCode(String collegeCode) {
        this.collegeCode = collegeCode;
    }

    public String getCollegeName() {
        return collegeName;
    }

    public void setCollegeName(String collegeName) {
        this.collegeName = collegeName;
    }

    public String getMajorCode() {
        return majorCode;
    }

    public void setMajorCode(String majorCode) {
        this.majorCode = majorCode;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public String getClassCode() {
        return classCode;
    }

    public void setClassCode(String classCode) {
        this.classCode = classCode;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getCourseCode() {
        return courseCode;
    }

    public void setCourseCode(String courseCode) {
        this.courseCode = courseCode;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Double getCredit() {
        return credit;
    }

    public void setCredit(Double credit) {
        this.credit = credit;
    }

    public String getTeacherUserNo() {
        return teacherUserNo;
    }

    public void setTeacherUserNo(String teacherUserNo) {
        this.teacherUserNo = teacherUserNo;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getSemester() {
        return semester;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public String getExamDate() {
        return examDate;
    }

    public void setExamDate(String examDate) {
        this.examDate = examDate;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    @Override
    public String toString() {
        return "GradeDetails{" +
                "gradeId=" + gradeId +
                ", studentNo='" + studentNo + '\'' +
                ", studentName='" + studentName + '\'' +
                ", collegeCode='" + collegeCode + '\'' +
                ", collegeName='" + collegeName + '\'' +
                ", majorCode='" + majorCode + '\'' +
                ", majorName='" + majorName + '\'' +
                ", classCode='" + classCode + '\'' +
                ", className='" + className + '\'' +
                ", courseId=" + courseId +
                ", courseCode='" + courseCode + '\'' +
                ", courseName='" + courseName + '\'' +
                ", credit=" + credit +
                ", teacherUserNo='" + teacherUserNo + '\'' +
                ", teacherName='" + teacherName + '\'' +
                ", semester='" + semester + '\'' +
                ", score=" + score +
                ", examDate='" + examDate + '\'' +
                ", createdAt='" + createdAt + '\'' +
                ", updatedAt='" + updatedAt + '\'' +
                '}';
    }
}
